#include <QCoreApplication>
#include <iostream>
#include <cmath>
using namespace std;

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);
    int A;
    int B;
    int N;
    int H;
    cout<<"Vvedite A: ";
    cin>>A;
    cout<<"Vvedite B: ";
    cin>>B;
    cout<<"Vvedite N: ";
    cin>>N;
    H=(B-A)/N;
    cout<<1-sin(A)<<", ";
    for(int i=A;i<B;i++)
    {
        cout<<1-sin(A+i*H)<<", ";
    }
    cout<<1-sin(B)<<" ";
    return a.exec();
}
